<?

include_once("../../Misc.php");
include_once("../../classCol/UID.php");
include_once("../../classCol/classOracleDb.php");
require("../models/fetchers.php");
require("../../helpers/CHtml.php");

session_start();

$srcDbMstModel = "MST_MODEL";

$COracle = new oracleDb;

$COracle->init($_SESSION["ORCL"],
               $_SESSION["OPASS"],
               $_SESSION["SID"],
               _NO_COMMENT);

/**
* fetch all acvtives model entry from MST_MODEL
*
*/
if($COracle->connect()){

  fetchActiveModel($COracle,
                   $srcDbMstModel,
                   $theListModel);

  CGHtml::initDropDownContent($theListModel,
                              _FRESH_ENTRY,
                              $retContent);

  echo  $retContent;
}else{

  echo  _CONN_ERROR;
}

$COracle->dc();

?>